error: unexplained error (code 130) at rsync.c(541) [sender=3.0.7]

Posted by brazorf on Server Fault See other posts from Server Fault or by brazorf
Published on 2012-09-11T18:53:44Z Indexed on 2012/09/11 21:40 UTC
Read the original article Hit count: 271

Filed under:

This error: unexplained error (code 130) at rsync.c(541) [sender=3.0.7] error is happening after i changed router. Actually, i found out that this error just happens on a ctrl+c signal, so it could be not representative about the error itself.

The command i run is very basic:

rsync -avz --delete /local/path/ username@host:/path/to/remote/directory

Basically, the rsync just stuck there and nothing's happening, until i ctrl+c. After interrupting the process i got the error in subject. I past the whole thing here:

rsync -avvvvz --delete /source/path/ username@host:/path/to/direectory
cmd=<NULL> machine=HOSTNAME user=username path=/path/to/direectory
cmd[0]=ssh cmd[1]=-l cmd[2]=username cmd[3]=HOSTNAME cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvlogDtprze.iLsf cmd[7]=--delete cmd[8]=. cmd[9]=/path/to/direectory
opening connection using: ssh -l username HOSTNAME rsync --server -vvvvlogDtprze.iLsf --delete . /path/to/direectory
note: iconv_open("UTF-8", "UTF-8") succeeded.
^C[sender] _exit_cleanup(code=20, file=rsync.c, line=541): entered
rsync error: unexplained error (code 130) at rsync.c(541) [sender=3.0.7]
[sender] _exit_cleanup(code=20, file=rsync.c, line=541): about to call exit(130)

The authentication runs on ssh via rsa key. I tried basic troubleshoot such as:

  • ping the remote host
  • ssh -l username remote.host
  • check software firewall logs
  • i asked the remote host sysadmin to check for logs, and when i run that command a ssh connection is actually being established

and i can state there is no comunication/authentication/name resolution issue here. Rolling back to old router make this work again. Both client and server are running ubuntu 10.04.

Try to take a look at my router configuration, where i'm no experienced at all, but i didnt see any "suspect" (what i was looking for is firewall blocking something) setting. The router itself is DLINK DVA-G3670B.

Any suggestion?

Thank You

F.

© Server Fault or respective owner

Related posts about rsync